package com.gzsxy.sso.common.dto.response;

import com.gzsxy.sso.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 角色功能权限
 * @date 2021/11/18 15:27
 */
@Data
@ApiModel
public class RoleFunctionRsp extends BaseEntity {


    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "角色代码")
    private String code;

    @ApiModelProperty(value = "角色说明")
    private String roleExplain;

    @ApiModelProperty(value = "排序id")
    private Integer orderId;

    @ApiModelProperty(value = "是否系统管理员（0否1是）")
    private Boolean isAdmin;

    @ApiModelProperty(value = "是否超级管理员（0否1是）")
    private Boolean isSadmin;

    @ApiModelProperty(value = "二级目录")
    private List<MenuRsp> children ;   //二级目录

}
